//
// Created by nicemoe on 2021/9/18.
//

#include  <iostream>
#include <string>
#include <memory>
using namespace std;

class Report{
private:
    string str;
public:
    Report(const string s) :str(s){
        sout <<"Object created!"<<endl;
    }
    ~Report(){
        cout<<"Object deleted!"<<endl;
    }
    void comment(){
        cout<<str<<endl;
    }
};
int main() {
    {
        auto_ptr<Report> ps (new Report("using "))
    }
    return 0;
}
